﻿using UnityEngine;

[System.Serializable]
public class UpgradeSavableObject
{
    [SerializeField] int upgradeLevel;
    public int UpgradeLevel { get => upgradeLevel; set => upgradeLevel = value; }

    [SerializeField] UpgradeType upgradeType;
    public UpgradeType UpgradeType => upgradeType;

    public UpgradeSavableObject(UpgradeType upgradeType, int upgradeLevel)
    {
        this.upgradeType = upgradeType;
        this.upgradeLevel = upgradeLevel;
    }
}
